﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BackgroundTest.BasicAbstracts
{
    public class MapTabular
    {
        // The tabular for height
        protected int[,] heightTab;
        public int[,] HeightTab
        {
            get { return heightTab; }
        }

        // The width of height tabular
        protected int heightWidth;
        public int HeightWidth
        {
            get { return heightWidth; }
        }

        // The height of height tabular
        protected int heightHeight;
        public int HeightHeight
        {
            get { return heightHeight; }
        }

        /************************************************************************/
        /* Method name: Construction Function                                   */
        /* Warning: Need to be rewrite.                                         */
        /************************************************************************/
        public MapTabular()
        {
            heightTab = new int[8, 8];
            for (int i = 0; i <= 7; i++)
            {
                for (int j = 0; j <= 7;j++ )
                {
                    if (i==3 && j ==3)
                    {
                        heightTab[i, j] = 3;
                    }
                    else if (i<=3&&j<=3)
                    {
                        heightTab[i, j] = 1;
                    }
                    else heightTab[i, j] = 0;
                }
            }
            heightWidth = 8;
            heightHeight = 8;
        }
    }
}
